package com.codingfuture.glacierhardware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.poi.hpsf.Date;
import org.springframework.format.annotation.DateTimeFormat;



/**
 * @author :zxw
 * @date 2025-03-31 16:22
 * @description:
 */
@Data
public class Company {
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String name;
    private String shortName;
    private String admin;
    private String adminPhone;
    private String companyPrincipal;
    private String principalPhone;
    private String companyType;
    private String phone;
    private String website;
    private String address;
    private String remark;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
